<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Snake</title>
    <link href="snake.css" rel="stylesheet">
</head>
<body>
<div class="game" id="game">
    <div class="score">0</div>
    <div class="stage"></div>
</div>
</body>
<script src="snake.js"></script>
<script>
    container.onmouseup = function (event) {
        createEffect(event.clientX, event.clientY, "white");
    }
</script>
</html>